<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/struts-dojo-tags"  prefix="sx" %>
<jsp:directive.page import="com.im.logic.*" />
<jsp:directive.page import="com.im.entity.*" />


<s:iterator value="%{column.object}" status="st">
	<ul>
		<li class="bold-font"><s:a href="%{href}"><s:property value="text" /></s:a></li>
	</ul>
	<s:if test="%{has_childLinks==1}">
		<s:action name="navigation" executeResult="true" ignoreContextParams="true">
			<s:param name="id"><s:property value="%{id}" /></s:param>
			<s:param name="model_name"><s:property value="model_name" /></s:param>
			<s:param name="column_name"></s:param><!-- 这里需要重置这些参数否则会优先匹配column模式 -->
			<s:param name="navi_site">-1</s:param>
		</s:action>
	</s:if>
</s:iterator>

<s:set name="count" value="0"></s:set>
<s:iterator value="%{column.object}">
	<s:if test="%{has_childLinks==1}">
		<div id="total_sub2_navi<s:property value="#count" />" class="total_sub_navi">
		<div class="inner-wrapper clear">
			<span class="link-group-title"><s:property value="%{text}" /></span>
			<s:action name="navigation" executeResult="true" ignoreContextParams="true">
				<s:param name="id"><s:property value="%{id}" /></s:param>
				<s:param name="model_name"><s:property value="model_name" /></s:param>
				<s:param name="column_name"></s:param><!-- 这里需要重置这些参数否则会优先匹配column模式 -->
				<s:param name="navi_site">-1</s:param>
			</s:action>
		</div>
	</div>
	</s:if>
	<s:set name="count" value="%{#count + 1}"></s:set>
</s:iterator>
